package com.atde._04_structural_design_patterns.decorator;


/**
 * @BelongsProject: hsp_java_design_mode
 * @BelongsPackage: com.atde._04_structural_design_patterns.decorator
 * @Author: Del
 * @CreateTime: 2025-06-20  15:18
 * @Description: 装饰者模式 --- 具体的装饰器类 --- 牛奶
 * @Version: 1.0
 */
public class Milk extends Decorator{

    public Milk(Drink obj) {
        super(obj);
        setDes(" 牛奶 ");
        setPrice(2.0f);
    }
}
